export interface TworkOrder {
  children?: TworkOrder[];
  processRouteId?: number;
  workOrderCode?: string;
  /**
   * 计划结束时间
   */
  endDate?: string;
  /**
   * 创建人id
   */
  foundId?: number;
  /**
   * 计划人id
   */
  plannerId?: number;
  /**
   * 生产数量
   */
  produceNumber?: number;
  /**
   * 生产订单id
   */
  produceOrderId?: number;
  /**
   * 产品id
   */
  productId?: number;
  /**
   * 备注
   */
  remark?: string;
  /**
   * 计划开始时间
   */
  startDate?: string;
  /**
   * 生产总数量
   */
  totalNumber?: number;
  workOrder?: string;

  magnification?: number;
}
export interface TPlanProduction {
  code?: string;
  type?: number;
  emergencyLevel?: number;
  workOrderId?: string;
  produceNumber?: number;

  /**
   * 生产订单id
   */
  produceOrderId?: number;
  startDate?: Date;
  productId?: number;
  capacity?: number;
  data?: {
    date: string;
    number: number;
    isScheduling?: number;
  }[];
}

export interface TPlanWorkShopDate {
  date: string;
  number: number;
}
export interface TPlanWorkShop {
  data?: TPlanWorkShopDate[];
  startDate?: string;
  /**
   * 工序idFV
   */
  processGroupId?: number;
  /**
   * 工序名称
   */
  processName?: string;
  /**
   * 产品id
   */
  produceId?: number;
  /**
   * 工单id
   */
  workOrderId?: number;
  /**
   * 车间id
   */
  workShopId?: number;
  /**
   * 车间名称
   */
  workShopName?: string;
  productionLineId?: number;
  dispositionData?: any;
  uuid?: any;
  produceNumber?: number;
  capacity?: number;
}
